<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>

	<title>All Users</title>

	<link
		href="#{facesContext.externalContext.requestContextPath}/resources/css/site/style.css"
		rel="stylesheet" type="text/css" />
	<link
		href="#{facesContext.externalContext.requestContextPath}/resources/css/site/navi.css"
		rel="stylesheet" type="text/css" />

	<script type="text/javascript"
		src="#{facesContext.externalContext.requestContextPath}/resources/css/site/js/jquery-1.8.3.min.js"></script>

	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<script type="text/javascript">
		$(function() {
			$(".box .h_title").not(this).next("ul").hide("normal");
			$(".box .h_title").not(this).next("#properties").show("normal");
			$(".box").children(".h_title").click(function() {
				$(this).next("ul").slideToggle();
			});
		});
	</script>

	<h:outputScript library="javascript" name="jscodes.js" />
	
</h:head>

<h:body>
	<f:view contentType="text/html; charset=UTF-8" encoding="UTF-8">
		<div class="wrap">
			<div id="header">
				<ui:include src="../templates/top.xhtml"></ui:include>
			</div>

			<div id="content">
				<div id="sidebar">
					<ui:include src="../templates/left.xhtml"></ui:include>
				</div>
				<div id="main">
					
					<div class="clear"></div>

					<div class="full_w">
						<h:form id="form">
							<p:growl id="growl" showDetail="false" life="5000" />
							<h1>Properties</h1>
							<h:panelGrid columns="2" cellpadding="5">
								<h:outputLabel value="Company Code" />
								<h:inputText value="#{rec202EMPLPIMSupportMB.cocode}" id="cocode" required="true"/>
								
								<h:outputLabel value="In house number" />
								<h:inputText value="#{rec202EMPLPIMSupportMB.inhousenum}" id="inhousenum" required="true" autocomplete="off"/>
								
								<h:outputLabel value="Direct Login" />
								<h:inputText value="#{rec202EMPLPIMSupportMB.direct_login}" id="direct_login" required="true" autocomplete="off"/>
								
								<h:outputLabel value="eestatcd" />
								<h:inputText value="#{rec202EMPLPIMSupportMB.eestatcd}" id="eestatcd" required="true" autocomplete="off"/>
								
								<h:outputLabel value="twn_add" />
								<h:inputText value="#{rec202EMPLPIMSupportMB.twn_add}" id="twn_add" required="true" autocomplete="off"/>
								
								<h:outputLabel value="ucx_add" />
								<h:inputText value="#{rec202EMPLPIMSupportMB.ucx_add}" id="ucx_add" required="true" autocomplete="off"/>
								
								<h:outputLabel value="add_ind_1" />
								<h:inputText value="#{rec202EMPLPIMSupportMB.add_ind_1}" id="add_ind_1" required="true" autocomplete="off"/>
								
								<h:outputLabel value="type_1" />
								<h:inputText value="#{rec202EMPLPIMSupportMB.type_1}" id="type_1" required="true" autocomplete="off"/>

								<f:facet name="footer">
									<p:commandButton action="#{rec202EMPLPIMSupportMB.update}" value="Update" ajax="true" update="growl"/>
									<p:commandButton action="#{rec202EMPLPIMSupportMB.cancel}" value="Cancel" ajax="true" />
								</f:facet>
							</h:panelGrid>
						</h:form>
					</div>
				</div>
				<div class="clear"></div>
			</div>

			<div id="footer">
				<ui:include src="../templates/footer.xhtml"></ui:include>
			</div>
		</div>

	</f:view>
</h:body>
</html>